package cn.iocoder.yudao.module.system.controller.admin.partner.vo;

import cn.iocoder.yudao.module.system.controller.admin.partnercoupon.vo.PartnerCouponRespVO;
import cn.iocoder.yudao.module.system.controller.admin.partnerstore.vo.PartnerStoreRespVO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 合伙人 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PartnerRespVO {

    @Schema(description = "主键自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "28356")
    @ExcelProperty("主键自增")
    private Long id;

    @Schema(description = "姓名", example = "赵六")
    @ExcelProperty("姓名")
    private String name;

    @Schema(description = "账号", example = "12888")
    @ExcelProperty("账号")
    private String account;

    @Schema(description = "密码")
    @ExcelProperty("密码")
    private String password;

    @Schema(description = "手机")
    @ExcelProperty("手机")
    private String phone;

    @Schema(description = "户名")
    @ExcelProperty("户名")
    private String accountName;

    @Schema(description = "银行卡号")
    @ExcelProperty("银行卡号")
    private String bankAccount;

    @Schema(description = "银行名称")
    @ExcelProperty("银行名称")
    private String bankName;

    @Schema(description = "状态：1-已启用；0-已退出", example = "1")
    @ExcelProperty("状态：1-已启用；0-已退出")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "合伙人管理店铺", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<PartnerStoreRespVO> storeList;

    @Schema(description = "合伙人优惠券", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<PartnerCouponRespVO> couponList;

}